package br.edu.fa7.javabasics.module1.poo.interfaces;
/**
 * Classe abstrata {@link Televisao} que implementa {@link Operacao}
 * <br/>Abstract class {@link Televisao} which implements {@link Operacao}
 * @author charles.marques
 * @version 1.0
 * @since 29.10.2014
 */
public abstract class Televisao implements Operacao {
	
	/**
	 * @see br.edu.fa7.javabasics.module1.poo.interfaces.Operacao#desligar()
	 */
	@Override
	public void desligar() {
		System.out.println();
		System.out.println("Televisao.desligar():");
		pressionarButao();
		apagarImagem();
	}

	private void apagarImagem() {
		System.out.println("Televisao.apagarImagem()");
	}

	protected void pressionarButao() {
		System.out.println("Televisao.pressionarButao()");
	}
}
